<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">

    <ui:composition template="/template.xhtml">
        <ui:define name="title">
            <h:outputText value="Numero de Ordenes Facturadas y Total Facturado en el Mes"></h:outputText>
        </ui:define>
        <ui:define name="body">
            <h:form styleClass="jsfcrud_list_form">
                <h:panelGrid columns="2">
                    <h:outputLabel value="Ingrese el Mes a Consultar" for="billedMonth" />
                    <h:inputText id="billedMonth" value="#{orderOmsController.billedMonth}" />
                    
                    <h:outputLabel value="Ingrese el anno a Consultar" for="billedYear" />
                    <h:inputText id="billedYear" value="#{orderOmsController.billedYear}" />
                   
                    <h:outputLabel value="" />
                    <h:commandButton action="#{orderOmsController.viewBilled}" value="Buscar Ordenes Facturadas"></h:commandButton>
                    
                    
                    <h:outputLabel value="Total Facturado" />
                    <h:outputLabel value="#{orderOmsController.totalBilled}" />
                    
                    <h:outputLabel value="Total Ordenes" />
                    <h:outputLabel value="#{orderOmsController.totalOrdersBilled}" />
                    
                </h:panelGrid>
              
                <br />
                <br />
                <h:commandLink value="Ir al Menu Principal" action="/index" immediate="true" />
            </h:form>
        </ui:define>
    </ui:composition>

</html>
